* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    font-size: .7rem;
    --bc: #F43D42
}

body {
    background-color: #f5f5f5;
    padding-top: 2.2rem;
    padding-bottom: 3rem;

}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.bgc {
    background-color: #fff;
}

.edge {
    padding: .5rem .7rem;
}

.title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    padding: .6rem 0;
    height: 2.2rem;
    line-height: 2.2rem;
    z-index: 9;
}

.title i {
    width: 12%;
    text-align: center;
    position: absolute;
    left: 0;
}

.title a {
    padding: .6rem 0;
    width: 12%;
    text-align: center;
}

.message {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: .5rem;
}

.message i, .message a {
    width: 12%;
    height: 2.1rem;
    line-height: 2.1rem;
    text-align: center;
}

.message .layui-icon-speaker {
    color: var(--bc);
    font-weight: 700;
}

.message a {
    font-size: .7rem;
    display: flex;
    width: 14%;
    color: #999;
}

.message-news {
    width: 76%;
    height: 2.1rem;
    line-height: 2.1rem;
    overflow: hidden;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.nav li {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.nav li p {
    font-size: .7rem;
    color: #888;
}

.nav img {
    width: 50%;
    padding: .3rem 0 .2rem;
}

.product-container {
    padding: .5rem;
}

.product-container .product-title {
    padding-left: .5rem;
    margin-bottom: .5rem;
    border-left: 4px solid #f5f55f;
    display: flex;
    justify-content: space-between;
}

.product-list li p {
    padding: .5rem .5rem 0;
}

.product-list p:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bc);
}

.product-list p:last-child span {
    text-decoration: line-through;
    color: #999;
    font-size: .7rem;
}

.model {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .4);
    position: fixed;
    top: 0;
    z-index: 9;
    display: none;
}

.model-news {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.model-news-top {
    padding: .7rem;
}

.model-news-top .model-new {
    display: flex;
}

.model-news-top img {
    width: 20%;
    margin-right: .5rem;
}

.model-news-top .model-news-rgt {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.model-news-rgt p:nth-child(2) {
    color: var(--bc);
}

.model-news-rgt p:last-child {
    font-size: .7rem;
    color: #999;
}

.model-news-rgt p:first-child {
    display: flex;
    justify-content: space-between;
}

/* flex布局写法 */
.product-list {
    padding: .7rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-list li {
    width: 48%;
    margin-bottom: .5rem;
    border-radius: .5rem;
    padding-bottom: .5rem;
}

.product-list li div {
    width: 100%;
    height: 44.6vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* tabBar */
.tab-bar {
    display: flex;
    align-items: center;
    padding: .3rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #f5f5f5;
}

.tab-bar li {
    width: 25%;
}

.tab-bar li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-bar li img {
    width: 27%;
}

.tab-bar p {
    font-size: .7rem;
}

.tab-bar .active {
    color: #60B331;
}


.layui-layer.layui-layer-dialog {
    border-radius: .6rem !important;
}

.layui-layer-dialog .layui-layer-title {
    text-align: center;
    background: none;
    border: none;
    padding: 0 0 .3rem 0;
}

.layui-layer-dialog .layui-layer-setwin {
    display: none;
}

.layui-layer-dialog .layui-layer-content {
    text-align: center;
    padding: 0 0 .2rem 0;
}

.layui-layer-dialog .layui-layer-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.layui-layer-dialog .layui-layer-btn a {
    width: 48%;
    /*height: .7rem;*/
    /*line-height: .7rem;*/
    text-align: center;
    display: block;
    border-radius: 5px;
    overflow: hidden;
    border: none;
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn0 {
    color: #fff;
    background: linear-gradient(to right, #7FC555, #60B331);
}

.layui-layer-dialog .layui-layer-btn .layui-layer-btn1 {
    color: #555;
    background: #EBEBEB;
}


.layui-layer-prompt {
    border-radius: .15rem !important;
}

.layui-layer-prompt .layui-layer-title {
    text-align: center;
    background: none;
    border: none;
    padding: 0 0 .3rem 0;
}

.layui-layer-prompt .layui-layer-setwin {
    display: none;
}

.layui-layer-prompt .layui-layer-content {
    text-align: center;
    padding: 0 0 .2rem 0;
}

.layui-layer-prompt .layui-layer-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.layui-layer-prompt .layui-layer-btn a {
    width: 48%;
    height: .7rem;
    line-height: .7rem;
    text-align: center;
    display: block;
    border-radius: 5px;
    overflow: hidden;
    border: none;
}


.layui-layer-prompt .layui-layer-btn .layui-layer-btn0 {
    color: #fff;
    background: linear-gradient(to right, #7FC555, #60B331);
}

.layui-layer-prompt .layui-layer-btn .layui-layer-btn1 {
    color: #555;
    background: #EBEBEB;
}


.layui-layer-msg {
    border-radius: 0rem !important;
}

.layui-layer-msg .layui-layer-content {
    padding: 20px;
}

.layui-flow-more {
    display: block;
    width: 100%;
    text-align: center;
}

@media screen and (min-width: 320px) and (max-width: 375px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 375px) and (max-width: 424px) {
    html {
        font-size: 18.75px;
    }
}

@media screen and (min-width: 425px) and (max-width: 768px) {
    html {
        font-size: 21.25px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    html {
        font-size: 38.4px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1440px) {
    html {
        font-size: 51.2px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 2560px) {
    html {
        font-size: 72px;
    }
}

@media screen and (min-width: 2560px) {
    html {
        font-size: 128px;
    }
}